<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<h1 v-if="item.sex=='man'" v-for="(item, index) in obj" :key="index">{{item.name}}---{{item.height}}--{{item.age}}</h1>
		</div>
		<script src="../vue.js"></script>
		<script type="text/javascript">
			var vm = new Vue({
				el: "#app",
				data: {
					obj: [
						{
							name: 'kobe',
							age: 35,
							height: 198,
							sex: 'man'
						},
						{
							name: 'gigi',
							age: 1,
							height: 120,
							sex: 'woman'
						},
						{
							name: 'jams',
							age: 42,
							height: 205,
							sex: 'man'
						}
					]
				},
				methods: {}
			})
		</script>
	</body>
</html>
